package com.bonc.rms.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PetGoodsMapper {

	List<Map<String, Object>> getFoodsInfo();

	List<Map<String, Object>> getSingleFoodInfo(@Param("foodId") Integer foodId);

	List<Map<String, Object>> updateFoodInfo(@Param("foodId") Integer foodId, @Param("foodName") String foodName, 
			@Param("inventory") String inventory, @Param("pic") String pic,
			@Param("price") String price, @Param("quality") String quality, @Param("sold") String sold);

	Object deleteFoodInfo(@Param("foodId") Integer foodId);

}
